package com.neu.credit.creditscore.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户信用分表
 * </p>
 *
 * @author baomidou
 * @since 2025-06-18
 */
@Getter
@Setter
@TableName("credit_score")
@Schema(description = "CreditScore对象")
public class CreditScore {

    @Schema(description = "用户ID")
    @TableId("user_id")
    private Long userId;


    @Schema(description = "信用等级")
    private String scoreLevel;

    @Schema(description = "最后更新时间")
    private LocalDateTime lastUpdateTime;

    @Schema(description = "信用分数")
    private Integer score;
}
